{
 "metadata": {
  "name": "",
  "signature": "sha256:76a4e5946dd59a99f7cad6a22366cbf49d04eb4990c6599cd83d04dc53179fe0"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "code",
     "collapsed": true,
     "input": [
      "from __future__ import print_function\n",
      "from IPython.html.widgets import interact, interactive, fixed\n",
      "from IPython.html import widgets"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [],
     "prompt_number": 4
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "%pylab inline"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Populating the interactive namespace from numpy and matplotlib\n"
       ]
      }
     ],
     "prompt_number": 12
    },
    {
     "cell_type": "code",
     "collapsed": true,
     "input": [
      "def f(a,b):\n",
      "    x = linspace(0,10)\n",
      "    y = a*sin(x)+b*sqrt(x)\n",
      "    ylim(-40,40)\n",
      "    plot(x,y,)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [],
     "prompt_number": 13
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "interact(f,a=10,b=10)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "metadata": {},
       "output_type": "display_data",
       "png": "iVBORw0KGgoAAAANSUhEUgAAAXYAAAD/CAYAAADllv3BAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAEtFJREFUeJzt3X+UXGV9x/H3JAEC2SREEFI3JgQQ/AGiBKKxKkvrOa1a\nELUtIiJq5IctUuw5qUWDxtbjsc1pVQoK2igYpGmrLQb5EYNkIyi/iYIWtFGUIyqSIIlFUdBv/3ie\nsOO6m8zu7M6988z7dc5z7t07c2e+O9l87jPP/QWSJEmSJEmSJEmSJEmSJEmSJHWXs4DHgfnAYmAj\ncCOwssqiJEnjsxC4FhgEFgCbgHn5sfXAkmrKkqTeNaWNdRvA+aQeewBzSD33R4FVQB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AFyX\nH9fODVRdQI0MVF1AjQxUXUCNDFRdQDdqJ9gvAD7V9PNZwCbgWOAS4D1tvHavGKi6gBoZqLqAGhmo\nuoAaGai6gG40bRePXwQsGrZsKfA84HbgB8ABefkS4N358VcB8yasSklSy3YV7GeOsGwucArwx3na\n7AJgDXAysLHt6iRJY9YYxzqnAmcD20khPx34EDAbeAxYCZxE6sGfPcL6m4GDxlOsJPWw7wAHd+KN\nTmVoLH0WsJa083QtsG8nCpAkSZIkSZIkqQdMBS4EBoEbgMMqraZaewKrgeuBm4FDqi2ncmcBjwPz\nqy6kBhYDVwNfAt5ccS1Vmg78BykrbgNeXW05HbcH8HbgPtK+TEh/GxuBG0kHqdTCiaRgB3gxsK7C\nWupgYZ6eBny4ykIqthC4lrTBX1BtKZWbCXwV2KfqQmrgGODTef5I4PMV1lKF+aRzgt4PvDEv28TQ\n+UHrSUcejqiT14pZAlwFHA+8Czi0g+9dR/flaT/pMKZe1ADOJ/XYI7de9hJgd1KgfRk4rtpyKnUT\n0Ad8Avgg8PfVltNx9wOrSN9kG8CcPP9oXt4HHD3ayp2+CNhy4LmkcH+iw+9dRycARzD0TabXnE4a\njtqcfx7PeRUlmUk6o/uVwGuAj1RbTqVmk64/dQsp0BZXW06ldnR6+klDuB8GPlNpRU1OYSjAlpCO\nde9lS4HLgN2qLqRCV5LGDDcAPyX10np5f8ORwDV5fjZwd4W1VO0tDI0jzyMNQ/SiFQyNsd9LOim0\nQdoPM/xyL5WYRtraDJLGh3r57NOjSN9YBkmh1uv7GyD13N15ms7i/grpb+PYakup1FzSDuQNpB2o\nvbbztJ+00/gB4LvApaS/h5tJn8fy6kqTJEmSJEmSJEmSJEmSJEmSJEmSVLT/B7jCIjcTywoHAAAA\nAElFTkSuQmCC\n",
       "text": [
        "<matplotlib.figure.Figure at 0x7fa9f27029d0>"
       ]
      }
     ],
     "prompt_number": 14
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "f(1,2)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "metadata": {},
       "output_type": "pyout",
       "prompt_number": 11,
       "text": [
        "0.016334542897986734"
       ]
      }
     ],
     "prompt_number": 11
    },
    {
     "cell_type": "code",
     "collapsed": true,
     "input": [],
     "language": "python",
     "metadata": {},
     "outputs": []
    }
   ],
   "metadata": {}
  }
 ]
}